package com.neusoft.neuiotms.dcom.service.hn;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.hn.HnInspectionHealthPlanDTO;
import com.neusoft.neuiotms.dcom.dto.hn.HnInspectionItemDTO;

public interface HnInspectionHealthPlanService {
    List<HnInspectionHealthPlanDTO> index(Searchable searchable);

    Page<HnInspectionHealthPlanDTO> search(Pageable pageable, Searchable searchable);

    HnInspectionHealthPlanDTO create(HnInspectionHealthPlanDTO dto, UserBean user);

    HnInspectionHealthPlanDTO update(Long id, HnInspectionHealthPlanDTO dto, UserBean user);

    HnInspectionHealthPlanDTO details(Long id);

    void delete(Long id);

    List<HnInspectionItemDTO> findByInstitutionCode(String instituitonCode);

    void enable(Long id);

    void disable(Long id);
}
